<?php
    $tour=0; if(isset ($_GET['tour'])) $tour=$_GET['tour'];
    $detals_tin=$t->laytour(-1,'',$tour);
    $idroot=$detals_tin['id_root'];
    $idtl=$detals_tin['idtl'];
    $idloai=$detals_tin['idloai'];
    $detail_root=$t->layroot($idroot);
    $detail_theloai=$t->laytin_theloai(-1,$idtl);
    $detail_loaitin=$t->laytin_loai(-1,$idloai);
?>
<div class="site_navigation">
<ul>
    <li><a href="#"><? if($lang=='vi') echo 'Trang chủ'; else echo 'Home page';?></a> </li>
    <li><a href="#">&raquo; </a> </li>
    <li><a href="#"><?echo $detail_root['ten_'.$lang];?></a> </li>
    <li><a href="#">&raquo; </a> </li>
    <li><a href="#"><?echo $detail_theloai['ten_'.$lang];?></a> </li>
    <li><a href="#">&raquo; </a> </li>
    <li><a href="#"><?echo $detail_loaitin['ten_'.$lang];?></a> </li>
</ul>
<div class="c"></div>
</div><!--end .site_navigation-->
 <div class="main_left_details">
                           <div class="product_wrapper">
                               <h3 class="title"><?php echo $detals_tin['ten_'.$lang]?></h3>
                                <div class="product_content">
                                    <div class="main_left_details_form">
	    				<span class="lt">&ensp;</span>
	    				<span class="rt">&ensp;</span>
	    				<span class="lb">&ensp;</span>
	    				<span class="rb">&ensp;</span>

                                        <div class="box_news">
                                            <div class="item_first fl" style="width: 708px !important;">
                                                <div class="image fl">
                                                    <a href="#">
                                                        <img height="150" width="200" src="<?php echo $detals_tin['url_img']?>" alt="" />
                                                    </a>
                                                </div>
                                                <div class="content fr">
                                                    <div class="content_first">
                                                            <div style="font-size: 20px;padding: 5px 0px;">Giá: <strong style="color: black;"><?php echo $detals_tin['gia_'.$lang]?></strong><br/></div>
                                                            <p><?php echo $detals_tin['tomtat_'.$lang]?></p>
                                                        <div class="c"></div>
                                                    </div>
                                                </div>
                                                <div class="c"></div>
                                            </div><!--end item_first-->

                                            <div class="c"></div>
                                        </div><!--end .box_news-->
<div class="product_inner">
    <script type="text/javascript" src="<?php echo $rootURL; ?>scripts/jquery-ui-1.8.5.custom.min.js"></script>
    <script type="text/javascript">
            $(document).ready(function() {
                    $('#tabs').tabs();
                    $("#tabs").tabs("option", "event", 'mouseover' );
            });
    </script>
    <div id="tabs">
            <ul>
                <li><a href="#tabs-1"><? if($lang=='vi') echo 'Thông tin'; else echo 'Information';?></a></li>
                <li><a href="#tabs-2"><? if($lang=='vi') echo 'Giá'; else echo 'Price';?></a></li>
                <li><a href="#tabs-3"><? if($lang=='vi') echo 'Điều khoản'; else echo 'Terms';?></a></li>
                <li><a href="#tabs-4"><? if($lang=='vi') echo 'Liên hệ'; else echo 'Contact us';?></a></li>
                <li><a href="#tabs-5"><? if($lang=='vi') echo 'Thư viên hình ảnh'; else echo 'Gallery';?></a></li>
            </ul>
            <div id="tabs-1">
            <?php echo $detals_tin['noidung_ct_vi']?>
            </div>
            <div id="tabs-2">
            <?php echo $detals_tin['noidung_gia_'.$lang]?>
            </div>
            <div id="tabs-3">
            <?php echo $detals_tin['noidung_dk_'.$lang]?>
            </div>
            <div id="tabs-4">
            <?php echo $detals_tin['noidung_lh_'.$lang]?>
            </div>
            <div id="tabs-5">
            <?php echo $detals_tin['noidung_img']?>
            </div>
    </div>
</div>   <!--end .product_inner-->
</div>
                        </div><!--end .product_content-->
                    </div><!--end .product_wrapper-->
 </div>